let fs = require('fs');
let buf = '';

process.stdin.on('readable', function() {
    let chunk = process.stdin.read();
    if (chunk) buf += chunk.toString();
});

process.stdin.on('end', function() {
    let input = buf.split(" ").map((x)=>{return parseInt(x);});
    console.log(Math.max(input[0], input[1]));
});